package com.atguigu.gmall.list.service;

import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;

import java.io.IOException;

/**
 * @author :ttm
 * @description :
 * @create :2021-12-22 17:12:00
 */
public interface SearchService {
    /**
     * 上架
     * @param skuId
     */
    void upperGoods(Long skuId);

    /**
     * 下架
     * @param skuId
     */
    void lowerGoods(Long skuId);

    /**
     * 热度
     * @param skuId
     */
    void incrHotScore(Long skuId);

    SearchResponseVo search(SearchParam searchParam) throws IOException;

}
